// eslint-disable-next-line
import { UserLayout, BasicLayout, RouteView, BlankLayout, PageView } from '@/layouts'
import { bxAnaalyse } from '@/core/icons'

/**
 * 这里不再保留原来默认的菜单asyncRouterMap
 * https://github.com/sendya/ant-design-pro-vue/blob/master/src/router/generator-routers.js
 */
export const defaultRouterMap = []

/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/home',
    name: 'home',
    meta: { title: '主页' },
    component: () => import('@/views/page/home/index.vue'),
  },
  {
    path: '/page-1',
    meta: { title: '页面1' },
    component: RouteView,
    children: [
      {
        path: '/page-1-1',
        name: 'page-1-1',
        meta: { title: '页面1-1' },
        component: () => import('@/views/page/page-1/index.vue'),
      },
      {
        path: '/page-1-2',
        name: 'page-1-2',
        meta: { title: '页面1-2' },
        component: () => import('@/views/page/page-2/index.vue'),
      },
    ],
  },
]
